package sk.naive.talker.message;

import java.util.*;

/**
 * Multi-lingual message object.
 * Instantiated it can be used in buffers (reviews) where possibly any
 * language version of this message can be obtained later via get methods.
 * For one time usage with known language user methods in MessageFactory.
 * @see MessageFactory
 *
 * @author <a href="mailto:virgo@naive.deepblue.sk">Richard "Virgo" Richter</a>
 * @version $Revision: 1.2 $ $Date: 2004/03/13 23:41:49 $
 */
public interface Message {
	public String get(String lang);
	public String get(Locale l);
	public Date getDate();

	public interface Replacer {
		public String replace(MessageFactory factory, String params, Map ctx, Locale locale);
	}
}
